#ifndef _STATISTIC_H_
#define _STATISTIC_H_

#include <stdlib.h>

typedef struct{
	int total_key_num;
	int total_node_num;
	int * node_num;
} statistic;

extern statistic * stat_init(int maxlevel);
extern void stat_addnode(statistic * stat, int level);
extern void stat_addkey(statistic * stat);

#endif